<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理员登录</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="login">
<meta name="author" content="boyxuper@gmail.com">

<!-- Le styles -->
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/bootstrap-responsive.min.css" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

<!-- Fav and touch icons -->
<link rel="shortcut icon" href="/ico/favicon.ico">
<script src="/js/jquery-1.8.2.min.js" type="text/javascript"></script>
<script src="/js/bootstrap.min.js" type="text/javascript"></script>
<!--[if IE 6]>
    <link href="/~public/css/ie6.min.css" rel="stylesheet">
    <script src="/~public/js/ie6.min.js" type="text/javascript"></script>
    <![endif]-->
<style type="text/css">
body {
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #f5f5f5;
	font-family: "微软雅黑", sans-serif;
}

.form-signin {
	width: 300px;
	padding: 19px 29px 29px;
	margin: 0 auto 20px;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.form-signin .form-signin-heading,.form-signin .checkbox {
	margin-bottom: 10px;
}

.form-signin input {
	font-size: 16px;
	height: auto;
	margin-bottom: 20px;
	padding: 7px 9px;
	width: 280px;
}

.form-signin .btn-primary {
	padding: 7px 17px;
}
</style>
</head>
<body>
	<div class="container">
		<form class="form-signin" method="post" action="doLogin.do">
			<fieldset>
				<legend>请登录</legend>
				<%if (request.getAttribute("msg") != null) {%>
				<div class="alert">
                	<strong>提示: </strong>用户名或密码错误
            	</div>
            	<%} %>
				<label class="control-label" for="inputEmail">用户名</label> <input
					type="text" id="inputEmail" name="name" placeholder="Email">
				<label class="control-label" for="inputPassword">密码</label> <input
					type="password" id="inputPassword" name="pwd"
					placeholder="Password">
				<button class="btn btn-large btn-primary" type="submit">&nbsp;登&nbsp;录&nbsp;</button>
			</fieldset>
		</form>
	</div>
	<!-- /container -->
</body>
</html>
